package com.xyzwps.server.paimon.app

import com.xyzwps.server.paimon.ui.view.HelloView
import com.xyzwps.server.paimon.value.Phone
import org.springframework.stereotype.Service
import kotlin.time.Clock
import kotlin.time.ExperimentalTime

@Service
class HelloAppService {
    @OptIn(ExperimentalTime::class)
    fun hello() = HelloView(
        message = "Hello, world.",
        time = Clock.System.now(),
        phone = Phone("14200000001")
    )


}
